﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ConfirmOrder.aspx.cs" Inherits="GalaxySale2014.WebForm3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="CSS/Site.Master.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tableOrderInfo">
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationFirstName" runat="server" Text="First Name :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelFirstNameValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationLastName" runat="server" Text="Last Name :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelLastNameValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationAddress" runat="server" Text="Address :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelAddressValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationZip" runat="server" Text="Zip :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelZipValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationCity" runat="server" Text="City :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelCityValue" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdOrderInfoLabel">
                <asp:Label ID="LabelConfirmationEmail" runat="server" Text="Email :"></asp:Label>
            </td>
            <td class="tdOrderInfoLabelValues">
                <asp:Label ID="LabelEmailValue" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="LabelOrderRows" runat="server" Text="Overview:"></asp:Label>
    <br />
    <asp:GridView ID="GridViewConfirmationOverview" runat="server" AutoGenerateColumns="False" CssClass="gridViewArticles">
        <Columns>
            <asp:BoundField HeaderText="Article Id" DataField="Article.ArticleId" />
            <asp:BoundField HeaderText="Article Name" DataField="Article.ArticleName" />
            <asp:BoundField HeaderText="Unit Price" DataField="Article.UnitPrice" DataFormatString="{0:c0}" />
            <asp:BoundField HeaderText="Quantity" DataField="Quantity" />
            <asp:BoundField HeaderText="Sum" DataField="Sum" DataFormatString="{0:c0}" />
        </Columns>
    </asp:GridView>
    <div class="labelTotalSum">
        <asp:Label ID="LabelTotalSum" runat="server"></asp:Label>
    </div>
    <br />
    <asp:Button ID="ButtonBackToCart" runat="server" OnClick="ButtonBackToCart_Click" Text="Back To Cart" />
    <asp:Button ID="ButtonConfirmOrder" runat="server" Text="Confirm Order" OnClick="ButtonConfirmOrder_Click" />
</asp:Content>
